<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // "",NaN,0 --> false
        // >,<,==   返回的是boolean
        // 先将两边的值转为number，再比较
        var a = true;
        var b = "10"
        var c = "hello"
        console.log(a>b)  // Number(a)>Number(b)  1>10  false
        console.log(a>c)  // Number(a)>Number(c)  1>NaN  false
        console.log(Boolean(NaN))  // false
        // NaN和任何值作比较，结果都为NaN 
    </script>
</body>
</html>